import use_case.handlereturns.DVD;
import use_case.handlereturns.Slot;
import use_case.handlereturns.Storage;
import junit.framework.TestCase;


public class SlotTest extends TestCase {
	private Slot slot;
	private Storage inventory;
	private DVD d1;
	
	protected void setUp(){
		inventory = new Storage(5);
		inventory.initialize();
		slot = new Slot(inventory);
		d1 = new DVD("Legend", "Action", 53124);
	}
	
	protected void tearDown(){
		slot = null;
		inventory = null;
		d1 = null;
	}
	
	public void testInputItem(){
		setUp();
		assertFalse(slot.inputItem(d1));
		tearDown();
	}
}
